/* 博客登录页css */
.login-container {
    width: 100%;
    height: calc(100% - 50px);

    display: flex;
    justify-content: center;
    align-items: center;
}

.login-container .login-dialog{
    width: 350px;
    height: 330px;
    background-color: rgba(255,255,255,0.7);
    border-radius: 10px;
}

.login-dialog h3 {
    height: 50px;
    text-align: center;
    padding: 50px 0;
}
.login-dialog .row {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
}
.login-dialog span {
    width: 80px;
    font-size: 15px;
}
#username, #password {
    width: 200px;
    height: 40px;
    border-radius: 5px;
    border: none;
    font-size: 15px;
    padding-left: 5px;
}
#submit {
    width: 280px;
    height: 40px;
    color: white;
    font-size: 15px;
    background-color: green;
    border: none;
    border-radius: 5px;
}

#submit:active {
    /* hover为background是移动到按钮时变色 */
    /* active是background-color是点击变色 */
    background-color: #666;
    color: white;
}